package com.hnust.service.impl;

import com.hnust.api.StuListApi;
import com.hnust.domain.Examinee;
import com.hnust.domain.Result;
import com.hnust.service.StuListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class StuListServiceImpl implements StuListService {

    @Autowired
    StuListApi stuListApi;

    @Override
    public Result<Map<String, List<Examinee>>> getStuList(String testId, String claId){
        return stuListApi.getStuListInfo(testId,claId);
    }
}
